package com.dyh.quickdemo.bizDemo.GoodsUrl;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/*
@Author=Joey Wheeler
@Date=2020/11/4 16:03
*/
@Configuration
public class PlatformGoodsUrlConfig {

    @Bean
    @ConfigurationProperties(prefix = "platform.goods.url")
    PlatformGoodsUrlProp platformGoodsUrlProp(){
        return new PlatformGoodsUrlProp();
    }
}
